package com.guoning.office_system.model;

import java.util.Date;

public class User {
    private Long id;

    private Long departmentId;

    private String departmentCode;

    private String departmentName;

    private String userType;

    private String userCode;

    private String userName;

    private String loginName;

    private String loginPassword;

    private String creator;

    private Date createTime;

    private String modifier;

    private Date modifiedTime;

    private Date ts;

    private Integer dr;

    private Integer isOnline;

    private Integer loginErrorNum;

    private Integer isDefaultPassword;

    private Integer enableStatus;

    private Date loginLockedTime;

    private String remark;

    private String phone;

    private String telephone;

    private String userImgurl;

    public User(Long id, Long departmentId, String departmentCode, String departmentName, String userType, String userCode, String userName, String loginName, String loginPassword, String creator, Date createTime, String modifier, Date modifiedTime, Date ts, Integer dr, Integer isOnline, Integer loginErrorNum, Integer isDefaultPassword, Integer enableStatus, Date loginLockedTime, String remark, String phone, String telephone, String userImgurl) {
        this.id = id;
        this.departmentId = departmentId;
        this.departmentCode = departmentCode;
        this.departmentName = departmentName;
        this.userType = userType;
        this.userCode = userCode;
        this.userName = userName;
        this.loginName = loginName;
        this.loginPassword = loginPassword;
        this.creator = creator;
        this.createTime = createTime;
        this.modifier = modifier;
        this.modifiedTime = modifiedTime;
        this.ts = ts;
        this.dr = dr;
        this.isOnline = isOnline;
        this.loginErrorNum = loginErrorNum;
        this.isDefaultPassword = isDefaultPassword;
        this.enableStatus = enableStatus;
        this.loginLockedTime = loginLockedTime;
        this.remark = remark;
        this.phone = phone;
        this.telephone = telephone;
        this.userImgurl = userImgurl;
    }

    public User() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode == null ? null : departmentCode.trim();
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName == null ? null : departmentName.trim();
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType == null ? null : userType.trim();
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode == null ? null : userCode.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword == null ? null : loginPassword.trim();
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public Integer getIsOnline() {
        return isOnline;
    }

    public void setIsOnline(Integer isOnline) {
        this.isOnline = isOnline;
    }

    public Integer getLoginErrorNum() {
        return loginErrorNum;
    }

    public void setLoginErrorNum(Integer loginErrorNum) {
        this.loginErrorNum = loginErrorNum;
    }

    public Integer getIsDefaultPassword() {
        return isDefaultPassword;
    }

    public void setIsDefaultPassword(Integer isDefaultPassword) {
        this.isDefaultPassword = isDefaultPassword;
    }

    public Integer getEnableStatus() {
        return enableStatus;
    }

    public void setEnableStatus(Integer enableStatus) {
        this.enableStatus = enableStatus;
    }

    public Date getLoginLockedTime() {
        return loginLockedTime;
    }

    public void setLoginLockedTime(Date loginLockedTime) {
        this.loginLockedTime = loginLockedTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone == null ? null : telephone.trim();
    }

    public String getUserImgurl() {
        return userImgurl;
    }

    public void setUserImgurl(String userImgurl) {
        this.userImgurl = userImgurl == null ? null : userImgurl.trim();
    }
}